
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>书库</title>
	<link rel="stylesheet" href="https://img.xyxsc.com/front/kuaishu/css/common.css">
	<link rel="stylesheet" href="https://img.xyxsc.com/front/kuaishu/css/nan.css">
	<link rel="stylesheet" href="https://img.xyxsc.com/front/kuaishu/css/qiehuan.css">
	<link rel="stylesheet" href="https://img.xyxsc.com/front/kuaishu/css/index.css">
	<link rel="stylesheet" href="https://img.xyxsc.com/front/kuaishu/css/shuku.css">
  	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  	<script type="text/javascript" src="https://img.xyxsc.com/front/kuaishu/js/jquery-1.8.3.min.js"></script>
  	<script type="text/javascript" src="https://img.xyxsc.com/front/kuaishu/js/qiehuan.js"></script>
  	<meta name="format-detection" content="telephone=no" />
  	<style>
  		.hui-list-text{
  			height: 30px;
  			margin-left: 10px;
  		}
  	</style>
</head>
<body>
	<div class="zuijin">
		<span>最近阅读：暂未阅读</span>
		<b>
			<a href="/user/chongzhi">充值</a>
		</b>
	</div>
	<div class="banner">
	    <ul>
	        <li><a href="../main.html">首页</a></li>
	        <li><a href="paihang.html" >排行</a></li>
	        <li><a href="wanben.html" >完本</a></li>
	        <li><a href="shuku.html" class="banner-color">书库</a></li>
	        <li><a href="/user/bookshelf" >书架</a></li>
	    </ul>
	</div>
	<!-- 导航结束 -->
		<div class="shuku-main">
		<div class="title nan-bg">都市言情</div>
		<ul id="lists">
		</ul>
	</div>
	<!-- 客服信息开始 -->
	<div class="nav-bottom bottom-bg">
		<ul>
	    	<li><a href="../main.html">首页</a></li>
	    	<li><a href="paihang.html">排行榜</a></li>
	    	<li><a href="wanben.html">完本</a></li>
	    	<li><a href="shuku.html">书库</a></li>
	    	<li><a href="/user/bookshelf">书架</a></li>
		</ul>
	</div>
	<div style="margin-top:22px;">
		<ul class="">
			<li>
				<a href="tel://18370940755">
		    		<div class="hui-list-text">在线联系电话：18370940755</div>
		    	</a>
			</li>
			<li>
				<a href="jjavascript:void(0);">
		    		<div class="hui-list-text">在线客服QQ：275300091</div>
		    	</a>
			</li>
			<li>
				<a href="javascript:void(0);">
		    		<div class="hui-list-text">问题反馈邮箱：275300091@qq.com</div>
		    	</a>
			</li>
		</ul>
		<p style="height: 40px;text-align: center;margin-top: 10px;">鄂ICP备16023444号</p>
	</div>
  </body>
<script type="text/javascript" src="../js/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="../js/hui.js" charset="UTF-8"></script>
<script>
	//获取所有的小说类型作为书库
	var html = '<li><a onclick="getList(~);">~</a></li>';
	hui.getJSON(
	    rootpath+'/bookModule/bookModuleAllList',
	    function(msg){
			var list = "";
			for(var i=2;i<msg.length;i++){
				list = list + html.replace("~",msg[i].id).replace("~",msg[i].name);
			}
			$("#lists").html(list);
	    },
	    function(e){
	        hui.iconToast('读取消息失败', 'warn');
	        console.log(e);
	    }
	);
	function getList(id){
		localStorage.removeItem("module_id");
		localStorage.setItem("module_id",id);
		location.href="modulebook.html";
	}
</script>
</html>